//
//  UICollectionViewCell+BNAdd.h
//  BNCodeGuide
//
//  Created by kevin007 on 2021/5/20.
//  Copyright © 2021 kevin007. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface UICollectionViewCell (BNAdd)
/** 从xib加载cell，自动复用 */
+ (instancetype)cellFromXibWithCollectionView:(UICollectionView *)collectionView forIndexPath:(NSIndexPath *)indexPath;

/** 加载纯代码cell，自动复用 */
+ (instancetype)cellFromClassWithCollectionView:(UICollectionView *)collectionView forIndexPath:(NSIndexPath *)indexPath;
@end

NS_ASSUME_NONNULL_END
